package org.jeecg.modules.supplier.Vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value = "SupplierMatchVo对象", description = "供应商匹配Vo")
public class SupplierMatchVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "供应商id")
    private String supplierId;

    @ApiModelProperty(value = "供应商")
    private String supplier;

    @ApiModelProperty(value = "所属类目")
    private String category;

    @ApiModelProperty(value = "资质列表")
    private String qualifications;

    @ApiModelProperty(value = "平均评分")
    private BigDecimal avgScore;

//    @ApiModelProperty(value = "供应商")
//    private List<Supplier> Supplier;

    @ApiModelProperty(value = "中标时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date winningTime;

    @ApiModelProperty(value = "中签率")
    private Double winningRate;

    @ApiModelProperty(value = "未完工项目")
    private int unfinishedProject;

    @ApiModelProperty(value = "未完成项目名称")
    private String unfinishedProjectName;

}
